package com.zg.scf.domain.req.rule;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zg.common.core.req.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/5/22 15:05
 */

@Data
@ApiModel(value = "企业规则PageReq")
public class RulePageReq extends PageReq {

    @ApiModelProperty(value = "企业名称")
    private String companyName;           // 模板名称

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date beginTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "状态")
    private String state;

    @ApiModelProperty(value = "黑白名单，1 白名单 2 黑名单")
    private String direction;

}
